d/p/Don-t-write-to-parent-repo.patch: Drop, applied upstream
authorSimon McVittie <smcv@debian.org>
Tue, 15 May 2018 10:18:43 +0000 (11:18 +0100)
committerSimon McVittie <smcv@debian.org>
Tue, 15 May 2018 10:18:43 +0000 (11:18 +0100)
debian/changelog
debian/patches/Don-t-write-to-parent-repo.patch [deleted file]
debian/patches/series [deleted file]

index f4413aa9d266c3752a27ff41e5399c16cf5c70e4..45766aca6893d7185d23eb12357bfe135794b324 100644 (file)
@@ -5,6 +5,7 @@ ostree (2018.5-1) UNRELEASED; urgency=medium
       GFDL-1.3-or-later, and doc/ isn't included in dist tarballs, so
       remove those licenses
     - d/libostree-1-1.symbols: Update (and sort)
+    - d/p/Don-t-write-to-parent-repo.patch: Drop, applied upstream
   * ostree-tests: Add Lintian override for library-not-linked-against-libc.
     libreaddir-rand.so genuinely doesn't use any libc ABIs directly, only
     via GLib.
diff --git a/debian/patches/Don-t-write-to-parent-repo.patch b/debian/patches/Don-t-write-to-parent-repo.patch
deleted file mode 100644 (file)
index aaf4ddc..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-From: Alexander Larsson <alexl@redhat.com>
-Date: Thu, 29 Mar 2018 15:19:33 +0200
-Subject: Don't write to parent repo
-
-In _try_clone_from_payload_link, don't try to do the clone in the
-parent repo, because we don't want to modify that. parent repos are
-typically used when you want a shared, immutable base.
-
-For example in flatpak, the parent repo is the system repo which you
-don't have write access to, so any modification to it will fail with
-EACCES, making it impossible to install via the system helper.
-
-Closes: #1524
-Approved by: cgwalters
-Applied-upstream: 2018.5, commit:28c7bc6d0e153a0b07bdb82d25473a490765067f
----
- src/libostree/ostree-repo-commit.c | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/src/libostree/ostree-repo-commit.c b/src/libostree/ostree-repo-commit.c
-index 16081a9..98b03e6 100644
---- a/src/libostree/ostree-repo-commit.c
-+++ b/src/libostree/ostree-repo-commit.c
-@@ -777,8 +777,6 @@ _try_clone_from_payload_link (OstreeRepo   *self,
-           return TRUE;
-         }
-     }
--  if (self->parent_repo)
--    return _try_clone_from_payload_link (self->parent_repo, payload_checksum, file_info, tmpf, cancellable, error);
-   return TRUE;
- }
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644 (file)
index 28bc0d8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Don-t-write-to-parent-repo.patch